import Vue from 'vue';
import Router from 'vue-router';
import EntrySchoolForm from '@/components/main/entrySchoolForm/EntrySchoolForm';
import OpenDayActivityForm from '@/components/main/openDayActivityForm/OpenDayActivityForm'
import EntryFormEdit from '@/components/main/EntryFormEdit/EntryFormEdit'
import OpenDayActivityAdd from '@/components/main/OpenDayActivityAdd/OpenDayActivityAdd'
import OpenDayActivityEdit from '@/components/main/OpenDayActivityAdd/OpenDayActivityEdit'
import OpenDayEntryForm from '@/components/main/OpenDayEntryForm/openDayEntryForm';
import OpenDayEntryEdit from '@/components/main/OpenDayEntryEdit/openDayEntryEdit'
import UserEdit from '@/components/main/UserEdit/userEdit'
import UserForm from '@/components/main/UserForm/UserForm'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'EntrySchoolForm',
      component: EntrySchoolForm
    },
    {
      path: '/EntrySchoolForm',
      name: 'EntrySchoolForm',
      component: EntrySchoolForm
    },
    {
      path: '/OpenDayActivityForm',
      name: 'OpenDayActivityForm',
      component: OpenDayActivityForm
    },
    {
      path: '/EntryFormEdit',
      name: 'EntryFormEdit',
      component: EntryFormEdit
    },
    {
      path: '/OpenDayActivityAdd',
      name: 'OpenDayActivityAdd',
      component: OpenDayActivityAdd
    },
    {
      path: '/OpenDayActivityEdit',
      name: 'OpenDayActivityEdit',
      component: OpenDayActivityEdit
    },
    {
      path: '/OpenDayEntryForm',
      name: 'OpenDayEntryForm',
      component: OpenDayEntryForm
    },
    {
      path: '/OpenDayEntryEdit',
      name: 'OpenDayEntryEdit',
      component: OpenDayEntryEdit
    },{
      path: '/UserEdit',
      name: 'UserEdit',
      component: UserEdit
    },
    {
      path:'/UserForm',
      name: 'UserForm',
      component: UserForm
    }
  ]
})
